package com.wufan.day07.exer1;

/**
 * @author SongWufan
 * @date 2021/4/16 15:48
 */
public class Circle {
    private double radius;

    public Circle() {
        radius = 1.0;
    }

    public double getRadius() {
        return radius;
    }

    public void setRadius(double radius) {
        this.radius = radius;
    }

    public double findArea() {
        return Math.PI * Math.pow(radius, 2);
    }
}
